import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { ref,reactive } from 'vue'

const app = createApp(App)
// 定义全局变量
app.config.globalProperties.$uId = ref()
app.config.globalProperties.$uName = ref('admin')
app.config.globalProperties.$uPassword = ref(123456)
app.config.globalProperties.$rId = ref()
app.config.globalProperties.$token = ref('')

app.use(router).use(ElementPlus).mount('#app')


// createApp(App).use(router).use(ElementPlus).mount('#app')